#include<iostream>
using namespace std;
class BaseA
{
private:
	int a1;
protected:
	int a2;
public:
	int a3;
	void setA(int x, int y, int z);
	void showA();
};
class BaseB
{
private:
	int b1;
protected:
	int b2;
public:
	int b3;
	void setB(int x, int y, int z);
	void showB();
};
class BaseC
{
private:
	int c1;
protected:
	int c2;
public:
	int c3;
	void setC(int x, int y, int z);
	void showC();
};
class Derived :public BaseA, protected::BaseB, private BaseC
{
private:
	int d1;
protected:
	int d2;
public:
	int d3;
	void setD(int x, int y, int z);
	void showD();
	void setall(int x0, int x1, int x2, int x3, int x4, int x5, int x6, int x7, int x8, int x9, int x10, int x11);
	void showall();
};
